[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
enable() Enable Interrupts (Macro)
#include <dos.h>
void enable(void);
enable() enables hardware interrupts. This allows any device
interrupts to occur.
Returns: There is no return value.
Notes: enable() is a macro.
Portability: 8086-Family of processors only.
-------------------------------- Example ---------------------------------
The following statements disable and then re-enable the interrupts.
#include <dos.h> /* for disable and enable */
main()
{
disable();
/* execute operations which can't be interrupted */
enable();
}
See Also:
disable()
geninterrupt()
getvect()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson